from rest_framework.routers import SimpleRouter
from .views import PurchasePlanModelViewSet, PurchaseDetailModelViewSet

router = SimpleRouter()
router.register("api/purchase/plan", PurchasePlanModelViewSet)
router.register("api/purchase/detail", PurchaseDetailModelViewSet)

urlpatterns = []
urlpatterns += router.urls